home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / misc / visualguide / goodies / version.readme < prev   
Text File  |  1999-11-29  |  810b  |  22 lines

  1. Short:    Bugfixed c:version command
  2. Uploader: fsteinfe@iiic.ethz.ch (Frederic Steinfels)
  3. Author:   Urs Eprecht
  4. Type:     util/shell
  5. Version:  40.1
  6.  
  7. DESCRIPTION
  8.  
  9.    This is a patch/replacement for the original c:version command.
  10.    It had a nasty bug: If the last four bytes of a file contained
  11.    a $ sign, the version command went into an endless loop.
  12.    The new version command contains a work aournd for this
  13.    problem: It internally reduces the file size by four bytes.
  14.    This is save as the last four bytes can't contain a complete
  15.    version string.
  16.    The workaround code requires 14 bytes. They were gained by
  17.    shortening the text: 
  18.      "This disk requires Kickstart version 2.04 or greater"
  19.    to
  20.      "Kickstart 2.04 or greater required"
  21.    This was much easier than increasing the file size.
  22.